﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using DocumentManagement.Models;
using System.Windows;

namespace DocumentManagement.ViewsModels
{
  public  class ShowItemFileCreateViewsModel : ViewsModelBase
    {
        private QSHCEntities1 _entityModels;
        public QSHCEntities1 EntityModels
        {
            get { return _entityModels; }
            set
            {
                if (_entityModels != value)
                {
                    _entityModels = value;
                    OnPropertyChanged("EntityModels");
                }
            }
        }


        private CreateSend _myCreateSend;
        public CreateSend MyCreateSend
        {
            get { return _myCreateSend; }
            set
            {
                if (_myCreateSend != value)
                {
                    _myCreateSend = value;
                    OnPropertyChanged("MyCreateSend");
                }
            }
        }


        private CreateSendAttached _selectedCreateSendAttachFile;
        public CreateSendAttached SelectedCreateSendAttachFile
        {
            get { return _selectedCreateSendAttachFile; }
            set
            {
                if (_selectedCreateSendAttachFile != value)
                {
                    _selectedCreateSendAttachFile = value;
                    OnPropertyChanged("SelectedCreateSendAttachFile");
                }
            }
        }

        public ShowItemFileCreateViewsModel()
        {
            if (!DesignerProperties.GetIsInDesignMode(new DependencyObject()))
            {
                EntityModels = new QSHCEntities1();

            }
        }

   
    }
}
